package com.regent.central.bill.repository;

import com.regent.central.bill.core.OddmentLogging;
import com.regent.central.bill.dto.sale_order.SaleOrderActionOddmentLoggingDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
@Repository
public interface OddmentLoggingMapper extends Mapper<OddmentLogging> {

    /**
     * 获取销售单抹零变动日志
     *
     * @param saleOrderId 销售单ID
     * @return 销售单抹零变动日志
     */
    List<SaleOrderActionOddmentLoggingDTO> getSaleOrderActionOddmentLoggings(
            @Param("saleOrderId") String saleOrderId
    );

}